﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>dialog - samples</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style type="text/css">
#div1{position:absolute;width:240px;height:18px;top:50%;left:50%;margin-left:-120px;margin-top:-9px;color:red;}
	</style>
	<script type="text/javascript">
var D = window.parent.loadinndlg();
var W = window.parent;

window.onload = function()
{
    W.setokbtn(true);
}

function ok()
{
    alert( '您单击了确定按钮' );
	return true;
}
	</script>
</head>

<body>
    <div id="div1">LHGdialog多功能DIV弹出窗口框架</div>
</body>
</html>